package com.minxi.jsp.javabean;

public class UserInfo {
    private Long id;
    private String userName;
    private String passWord;
    private String userPhone;
    private Integer userSex;

    private Integer userAge;

    public UserInfo() {
    }

    public UserInfo(Long id, String userName, String passWord, String userPhone, Integer userSex, Integer userAge) {
        this.id = id;
        this.userName = userName;
        this.passWord = passWord;
        this.userPhone = userPhone;
        this.userSex = userSex;
        this.userAge = userAge;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", userAge=" + userAge +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userSex='" + userSex + '\'' +
                '}';
    }
}
